<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
      <label class="control-label col-xs-12 col-sm-2">{if $row.salary_mode == 'stage'}场次数{else/}{:__('打卡时间')}{/if}:</label>
        <div class="col-xs-12 col-sm-8">
          {if $row.salary_mode == 'stage'}
          <input style="width:200px" id="c-clock" data-rule="required" class="form-control" type="number" name="row[clock]" value="">
          {else/}
          <input style="width:200px" id="c-clock" data-rule="required" class="form-control datetimepicker" data-date-format="HH:mm" name="row[clock]" value="">
          {/if}
        </div>
    </div>
    {if $row.salary_mode == 'stage'}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('备注说明')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-note" class="form-control" name="row[note]" type="text">
        </div>
    </div>
    {/if}
    <input type="hidden" name="row['duty_id']" value="{$row.duty_id}" />
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
